import request from './req'

// 根据条件获取身份信息
export const getlibrarylistapi = async (params: any) => {
    let res = await request.get('system/library/list', { params: params })
    return res
}

// 新增白名单人员信息
export const addlibrarylistapi = async (data: any) => {
    let res = await request.post('/system/library', data)
    return res
}

// 修改信息简历库信息
export const editlibrarylistapi = async (data: any) => {
    let res = await request.put('/system/library', data)
    return res
}

// 删除白名单
export const dellibraryapi = async (data: any) => {
    return await request.delete('system/library', {data:data})
}
